<?php
// +----------------------------------------------------------------------
// | INPHP
// | Copyright (c) 2023 https://inphp.cc All rights reserved.
// | Licensed ( https://opensource.org/licenses/MIT )
// | Author: 幺月儿(https://gitee.com/lulanyin) Email: inphp@qq.com
// +----------------------------------------------------------------------
// | 
// +----------------------------------------------------------------------
namespace app\sso\http\api\admin;

use Inphp\Core\Modules;

#[\app\admin\attributes\auth(null, true)] class menus
{
    public function index(): array
    {
        return Modules::getModule()?->getAdminMenus() ?? [];
    }
}